<?php
namespace App\Http\Controllers\Api\Oauth\Auth;

use Illuminate\Http\Request;
use App\Http\Controllers\Api\Controller;
use App\Services\Oauth\User;

class ApiBaseController extends Controller
{
    protected $user;

    public function identity() {
        if (!$this->user) {
            $this->user = new User();
        }
        return $this->user;
    }

}